package com.gitlab.lucky;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @program: lucky
 * @author: Mr.Han
 * @create: 2018-10-27 10:23
 **/
@SpringBootApplication/*(exclude = DataSourceAutoConfiguration.class)*/
@EnableScheduling
@EnableAsync
@EnableCaching
@EnableTransactionManagement
@MapperScan("com.gitlab.lucky.common.dao")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
